x86 shadow: fix the check for having killed the guest in the fault handler.
authorKeir Fraser <keir.fraser@citrix.com>
Wed, 7 Oct 2009 14:56:05 +0000 (15:56 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Wed, 7 Oct 2009 14:56:05 +0000 (15:56 +0100)
commitefa1e6c6b05705b4fede2bda994332639ecd70d9
treeb30166004d87e41c168c6674529cbf17b7620a4a
parent0faacacb2f0ec6e4f656f0e637b45d604fc4566f
x86 shadow: fix the check for having killed the guest in the fault handler.

We care only about when we have called domain_crash() (and therefore
shadow invariants may not hold) and shouldn't spuriously inject
pagefaults into guests that are shutting down for other reasons.

Signed-off-by: Tim Deegan <Tim.Deegan@citrix.com>
xen/arch/x86/mm/shadow/multi.c